#ifndef __API_RTC_H_
#define __API_RTC_H_

#include "config.h"
#include "global.h"
//#include "bsp_hc32f460_lqfp64_v1.h"


//#include "memoryallot.h"

#include "api_jl.h"








void TurnOnCheckTime(void);
void PdSaveTime(void);

uint32 CalcTime(uint8 *psTm);
uint32 CalcMinByTime(uint8 *psTm);
uint32 CalcHourByTime(uint8 *psTm);
uint32 CalcDayByTime(uint8 *psTm);
uint32 CalcMonthByTime(uint8 *psTm);
uint32 CalcYearByTime(uint8 *psTm);


#endif

